{temp('html/recruit/pc/head')}

<script type="text/javascript">
		function pinglun(did,spid,hid){
			art.dialog.open('{$_url}/?act=job&met=kc_pinglun&did='+did+'&spid='+spid+'&hid='+hid,{id:'ping',width :538,height:403,title:'',lock:true},false);
		}
		function closeWindow(){
			art.dialog.list['ping'].close();
		}
		function sc(zid,id,zjid){
			$.post('{$_url}/?act=job&met=pl_del',{id:id,zid:zid},function(data){
				alert(data);
				if(data == '删除成功'){
					location.href='{$_url}/?act=job&met=kcxx&spid='+zid+'&zjid='+zjid
				}
			});
		}
</script>
</head>
<body>
	{if(@$zjid)}
		{temp('html/recruit/pc/zjia/toubu')}
	{else}
		{temp('html/recruit/pc/ruser/head')}
	{/if}
		<!--主体内容-->
		<div class="w_bai dis_inline t_c">
			<!--详细-->
			<div class="w_1100 auto_0">
				<!--导航-->
				<div class="w_bai dis_inline t_m10">
					<div class="f_l t_m3 home"></div>
					<span class="f_l t_m5 l_m5" id="jibie">
						您所在的位置：<a href="{$_url}">首页</a> > {if(@$zjid)}<a href="{$_url}/?act=job&met=kcgl">视频管理</a>{else}<a href="{$_url}/?act=ruser&met=xuexi">我要学习</a>{/if} > <a href="{$_url}/?act=job&met=kcxx&spid={$spid}&zjid={$did}">{if(@$rs['name'])}{$rs['name']}{/if}</a>
					</span>
				</div>
				<!--导航结束-->
				<!--标题及播放器-->
				{if(@$rs['shipin'])}
				<div class="w_bai dis_inline t_m10 bc_FFF t_l">
					<p class="t_m20 l_m20 f_s20 c_323232">{if(@$rs['name'])}{$rs['name']}{/if}</p>
					<div class="w_bai t_c t_m15 b_m20">
					{if($rs['zt'] == 1)}  
						<embed src="{$rs['shipin']}" allowFullScreen="true" quality="high" width="861" height="528" 
						align="middle" allowScriptAccess="always" type="application/x-shockwave-flash"></embed>
					{else}
						视频{if($rs['zt'] == '0')}待审核{elseif($rs['zt'] == '2')}审核未通过{/if}
					{/if}
					</div>
				</div>
				{/if}
				<!--标题及播放器结束-->
				<!--内容-->
				<div class="w_bai dis_inline t_m10">
					<!--左侧-->
					<div class="w_286 f_l c_656565 bc_FFF bor_FFF">
						<!--资料-->
						<div class="t_m25 t_c">
							<!--头像-->
							<img src="{if(@$base['touxiang'])}{photo({$base['touxiang']})}{else}{$style}/images/geren_114.png{/if}" width="114" height="114" />							
							<!--头像结束-->
							<p class="t_m10 f_s12">{if(@$base['name'])}{$base['name']}{else}{if(@$user['phone'])}{$user['phone']}{elseif($user['email'])}{$user['email']}{else}未知{/if}{/if}</p>
							<p class="t_m5 f_s12">{if($user['lx'] == 1)}{if(@$user['qyname'])}{$user['qyname']}签约{/if}{else}VIP{/if}专家</p>
							<p class="t_m15">{if(@$base['byyx'])}{$base['byyx']}{else}毕业院校未知{/if}{if($user['lx'] == 1)} | {if(@$base['zhuanye'])}{$base['zhuanye']}{/if}{/if}</p>
						</div>
						<!--资料结束-->
						{if($user['lx'] == 2)}
						<!--主要成就-->
						<div class="w_210 t_m15 auto_10 t_l">
							<p class="f_b">主要成就：</p>
							<p class="t_m5 l_h25">
								{if(@$base['zycj'])}{$base['zycj']}{/if}
							</p>
						</div>
						<!--主要成就结束-->
						{/if}
						{if(@$uid)}
						<!--聊聊按钮-->
						<div class="t_m25 b_m50">
						<a href="{$_url}/?act=job&met=liaot&uid={$base['uid']}" target="_blank">
							<div class="w_210 h_45 t_c l_h45 f_s20 c_FFF bc_127ABF b_rad5 auto_10">
								我想和讲师聊聊
							</div>
						</a>
						</div>
						<!--聊聊按钮结束-->
						{/if}
					</div>
					<!--左侧结束-->
					<!--右侧-->
					<div class="w_804 l_m5 f_r bor_FFF">
					{if(@$rs)}
						<!--课程部分-->
						<div class="w_bai bc_FFF t_l">
							<!--标题及时间-->
							<div class="w_bai t_m10 dis_inline">
								<span class="f_l l_m15 f_s20 c_323232">{$rs['name']}</span>
								<span class="f_l t_m5 l_m55 c_656565">{code(echo date('Y-m-d H:i',$rs['time']))}</span>
								<span class="f_l t_m5 l_m55 c_656565">{if($rs['zt'] == '0')}待审核{elseif($rs['zt'] == '2')}审核未通过{/if}</span>
							</div>
							<!--标题及时间结束-->
							<!--课程描述-->
							<div class="w_bai t_m20 dis_inline c_656565">
								<!--提示字-->
								<div class="l_m15 dis_inline">
									<div class="f_l t_m3 videodesc"></div>
									<div class="f_l l_m10 f_s16">{if(@$rs['shipin'])}课程描述{else}课程内容{/if}</div>
								</div>
								<!--提示字结束-->
								<!--描述详细-->
								<div class="t_m25 w_720 l_h25 l_m40 dis_inline" style="overflow-y:auto;max-height:290px;">
									<!--课程背景-->
									<div class="dis_inline" style="word-break:break-all;">
										{$rs['content']}
									</div>
									<!--课程背景结束-->
								</div>
								<!--描述详细结束-->
							</div>
							<!--课程描述结束-->
						</div>
						<!--课程部分结束-->
						
						<!--评论部分-->
						<div class="w_bai bc_EBEBEB dis_inline">
							<!--提示字-->
							<div class="w_200 t_m25 auto_0">
								<div class="f_l t_m3 gengduo"></div>
								<div class="f_l l_m5 f_s16 c_323232">精彩评论</div>
								<div class="f_l t_m3 l_m5 gengduo2"></div>
							</div>
							<!--提示字结束-->
							<!--写评论-->
							<div class="w_bai t_m10 dis_inline">
								<!--提示字-->
								<div class="f_r r_m40 dis_inline point" onClick="pinglun({$did},{$spid},0)">
									<div class="f_l  t_m8 f_s16 c_1379BF">写评论</div>
									<div class="f_l r_m40 l_m5 write"></div>
								</div>
								<!--提示字结束-->
								<!--评论内容-->
								<div class="t_m20 dis_inline t_l">
									<!--第1条-->
									{if(@$plss['data'])}
									{foreach($plss['data'] as $k=>$v)}
									<div class="w_804 t_m5 dis_inline">
										<!--头像-->
										<div class="f_l l_m40">
											<img src="{if(@$v['touxiang'])}{photo({$v['touxiang']})}{else}{$style}/images/temp/tou_40.png{/if}" width="40px" height="40px" />
										</div>
										<!--头像结束-->
										<!--内容-->
										<div class="f_l">
											<!--左箭头-->
											<div class="f_l l_m5 xddw zIndex_2">
												<img src="{$style}/images/bor_jiantou.png" />
											</div>
											<!--左箭头结束-->
											<!--输入框-->
											<div class="f_l w_630 bor1_DBDBDB bc_FFF xddw zIndex_1"
												style="margin-left:-1px">
												<!--名字-->
												<div class="l_m10 t_m10 f_s16 c_1379BF">{$v['name']}</div>
												<!--名字结束-->
												<!--输入的内容-->
												<div class="t_m10 l_m10 r_m10 l_h25 c_656565" style="word-break:break-all;">
													{$v['content']}
												</div>
												<!--输入的内容结束-->
												{if(@$v['hf'])}
												{foreach($v['hf'] as $k1=>$v1)}
												<!--回复内容-->
												<div class="l_m10 l_h25 c_7D7D7D dis_inline">
												<!--第2人回复第1人-->
													<div class="f_l w_610 t_m10">
														<div class="f_l">
															<img src="{if(@$v1['hftx'])}{photo({$v1['hftx']})}{else}{$style}/images/temp/tou_40.png{/if}" width="40px" height="40px" />
														</div>
														<div class="f_l w_560">
															<div id="title" class="f_l l_m10" style="word-break:break-all;">
																<span class="c_1379BF">{$v1['hfname']}</span>&nbsp;回复&nbsp;<span class="c_1379BF">{$v1['hdname']}</span>：{$v1['content']}
															</div>
														</div>
														<div class="w_bai dis_inline t_m10">
															<span class="f_r r_m20 c_1379BF point" onClick="sc({$v1['zid']},{$v1['id']},{$v1['uid']})">删除</span>
															<span class="f_r r_m10 c_1379BF point" onClick="pinglun({$did},{$spid},{$v1['id']})">回复</span>
														</div>
													</div>
													<!--第2人回复第1人结束-->
												</div> 
												<!--回复内容结束-->
												{/foreach}
												{/if}
												<!--回复和删除-->
												<div class="f_r t_m10">
													<div class="f_l w_80 h_30 t_c l_h30 c_FFF bc_137ABF point" onClick="pinglun({$did},{$spid},{$v['id']})">回复</div>
													<div class="f_l w_80 h_30 t_c l_h30 c_FFF bc_B6B6B6 point" onClick="sc({$v['zid']},{$v['id']},{$v['uid']})">删除</div>
												</div>
												<!--回复和删除结束-->
											</div>
											<!--输入框结束-->
										</div>
										<!--内容结束-->
									</div>
									<!--第1条结束-->
									{/foreach}
									{/if}
									<!--翻页-->
									<div class="dis_inline w_bai t_m25 b_m50 c_656565">
										<div class="f_l w_210">&nbsp;</div>
										<div class="f_l l_m45" id="zhuce">
											{if(@$plss['count'])}
												{pager($plss['count'],$pagesize)}
											{/if}
										</div>
									</div>
									<!--翻页结束-->
								</div>
								<!--评论内容结束-->
							</div>
							<!--写评论结束-->
						</div>
						<!--评论部分结束-->
						{/if}
					</div>
					<!--右侧结束-->
				</div>
				<!--内容结束-->
			</div>
			<!--详细结束-->
		</div>
		<!--主体内容结束-->

{temp('html/recruit/pc/foot')}